package com.zzyl.serve.dto.member;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ReservationDto {
    //手机号
    private String mobile;
    //预约人
    private String name;
    //时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;
    //预约类型,0为参观预约,1探访预约
    private Integer type;
    //家人姓名
    private String visitor;
}
